﻿using Me.Amon.POS.C;

namespace Me.Amon.POS.M
{
    public class MSpuInv : MPos
    {
        public int inv;
        public int source;
        public string order_id;
        public string order_code;

        public static string GetSource(object obj)
        {
            if (obj is int)
            {
                var val = (int)obj;
                if (val == CSpuInv.SOURCE_ORDER)
                {
                    return "订单";
                }
                if (val == CSpuInv.SOURCE_MANURE)
                {
                    return "调整";
                }
            }
            return "未知";
        }
    }
}
